From 0eb728aa517ccdefbdee1e329a30e90adcc7a31f Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 6 Apr 2020 15:32:27 -0400 Subject: [PATCH] imcontextsimple: Disable some win32-only code This code needs to be redone differently, since keymaps are no longer going to be exposed. There should really not be this much ifdef-ed backend-specific code here anyway. Or any, really. --- gtk/gtkimcontextsimple.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gtk/gtkimcontextsimple.c b/gtk/gtkimcontextsimple.c index 061fae5d10..1e5bfac6c0 100644 --- a/gtk/gtkimcontextsimple.c +++ b/gtk/gtkimcontextsimple.c @@ -1262,7 +1262,8 @@ gtk_im_context_simple_filter_keypress (GtkIMContext *context, { gboolean success = FALSE; -#ifdef GDK_WINDOWING_WIN32 +#if 0 + /* FIXME this needs redoing since keymaps are no longer exposed */ if (GDK_IS_WIN32_DISPLAY (display)) { guint16 output[2]; -- 2.30.2